Modelling loan repayments

This is more of a NTS, but will try and build out a simple mortgage repayment calculator for this page using the formulas in this memo.